package cn.cumulomq.utils;

public interface MessageConstants {
    final static int AFTN_ADDRESS_LEN = 21;

    final static int AFTN_TEXT_LEN = 1800;

    final static int AFTN_TEXT_ACTUAL_LEN = 1770;

    final int SITA_ADDRESS_LEN = 32;

    final int SITA_MSG_LEN = 3500;

    int MSG_DIRECTION_RECEIVE = 0;

    int MSG_DIRECTION_SEND = 1;

    String MSG_TYPE_AFTN = "AFTN";

    String MSG_TYPE_SITA = "SITA";

	String MSG_TYPE_AMHS = "AMHS";
	
	String MSG_TYPE_AMHS_IPM = "AMHS-IPM";
	
	String MSG_TYPE_AMHS_REPORT = "AMHS-REPORT";
	
	String MSG_TYPE_AMHS_RN = "AMHS-RN";
	
	String MSG_TYPE_AMHS_NRN = "AMHS-NRN";

	String MSG_TYPE_AMHS_PROBE = "AMHS-PROBE";
	
    String MSG_TYPE_UNKNOWN = "UNKNOWN";

    int COMM_TYPE_SERIAL = 0;

    int COMM_TYPE_TCP = 1;

    int COMM_TYPE_AM = 2;
    String CONNECTION_STATUS_CONNECTED = "connected";

    String CONNECTION_STATUS_CLOSED = "closed";

    String CONNECTION_DESC_CONNECTED = "连接建立";

    String CONNECTION_DESC_CLOSED = "连接断开";

    String ROLE_ID_ADMIN = "admin";

    String ROLE_ID_USER = "user";

    String MSG_STATS_TYPE_HOUR = "hour";
    
    String MSG_STATS_TYPE_ALL_HOUR = "allHour";
    
    String MSG_STATS_TYPE_ALL_DAY="allDay";
    
    String MSG_STATS_TYPE_ALL_MONTH="allMonth";

    String MSG_STATS_TYPE_DAY = "day";

    String MSG_STATS_TYPE_MONTH = "month";
    
    String RNCONFIG_MANUAL = "manual";
    
    String RNCONFIG_AUTO = "automatic";
    
    int AMHS_SPLIT_LEN = 69;
    
    String STRING_SOH = "SOH";
    String TO_SOH = "\u0001";
    String TO_STX = "\u0002";
    String STRING_ETX = "VT ETX";
    String TO_ETX = "\u0003";
}
